<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后代选择器演示</title>
    <style>
        #d1 #p1{
            color : palegoldenrod;
            font-family: 楷体;
        }
        #d1 .p2{
            color:blue;
            font-family:幼圆;
        }
    </style>
</head>
<body>
    <div id = "d1">
        <p id = "p1">
            我们都在努力的活下去
        </p>
        <p class = "p2">
            我们都是悲哀的人类
        </p>
    </div>
</body>
</html>